package org.adream.account.dao;

import java.util.List;
import org.adream.account.entity.AreaEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface AreaDao {
	
	public List<AreaEntity> queryAreas();
	
	public List<AreaEntity> queryAreasByPid(@Param("pid") Integer pid);
	
	public AreaEntity queryAreaById(@Param("areaId") Integer areaId);
	
	int replaceArea(AreaEntity area);
}